package com.home.model.dto;

import java.io.Serializable;

import com.home.model.entity.Account;

/**
 * 
 * @author Kevin Phan
 *
 */
public class AccountDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private long id;
	private String userName;
	private String password;

	public AccountDto(Account acc) {
		this.id = acc.getId();
		this.userName = acc.getUserName();
		this.password = acc.getPassword();
	}

	public AccountDto() {

	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

}
